package com.example.petstore.service;

import com.example.petstore.entity.Collection;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.petstore.utils.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author DD
 * @since 2024-07-04
 */
public interface ICollectionService extends IService<Collection> {

    public Result<String> addCommodity (int id);

    public Result<String> subCommodity (int id);

    public Result getAll(int current,int size);

}
